package com.xwdeshj.entity;

import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.*;
import java.util.Date;

/**
 * 景区——景区娱乐项目
 */
@Entity(name = "xw_sceinc_entertainment")
public class XwSceincEntertainment {

    /**
     * 景区娱乐项目id
     */
    @Column(name = "scenic_enter_id")
    private Integer scenicEnterId;

    /**
     * 商家加密id
     */
    @Column(name = "business_encryptId")
    private String businessEncryptid;

    /**
     * 景区加密id（店铺id）
     */
    @Column(name = "scenic_encryptId")
    private String scenicEncryptid;

    /**
     * 娱乐项目
     */
    @Column(name = "scenic_enter_name")
    private String scenicEnterName;

    /**
     * 项目展示图(可多图)（多图最多5张图
     */
    @Column(name = "scenic_enter_img")
    private String scenicEnterImg;

    /**
     * 更新时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Column(name = "scenic_enter_updatetime")
    private Date scenicEnterUpdatetime;

    /**
     * 添加时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Column(name = "scenic_enter_createtime")
    private Date scenicEnterCreatetime;

    /**
     * 项目简介
     */
    @Column(name = "scenic_enter_desc")
    private String scenicEnterDesc;

    public XwSceincEntertainment(){

    }

    public XwSceincEntertainment(String businessEncryptid, String scenicEncryptid, String scenicEnterName, String scenicEnterImg, Date scenicEnterUpdatetime, Date scenicEnterCreatetime, String scenicEnterDesc) {
        this.businessEncryptid = businessEncryptid;
        this.scenicEncryptid = scenicEncryptid;
        this.scenicEnterName = scenicEnterName;
        this.scenicEnterImg = scenicEnterImg;
        this.scenicEnterUpdatetime = scenicEnterUpdatetime;
        this.scenicEnterCreatetime = scenicEnterCreatetime;
        this.scenicEnterDesc = scenicEnterDesc;
    }

    /**
     * 获取景区娱乐项目id
     *
     * @return scenic_enter_id - 景区娱乐项目id
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    public Integer getScenicEnterId() {
        return scenicEnterId;
    }

    /**
     * 设置景区娱乐项目id
     *
     * @param scenicEnterId 景区娱乐项目id
     */
    public void setScenicEnterId(Integer scenicEnterId) {
        this.scenicEnterId = scenicEnterId;
    }

    /**
     * 获取商家加密id
     *
     * @return business_encryptId - 商家加密id
     */
    public String getBusinessEncryptid() {
        return businessEncryptid;
    }

    /**
     * 设置商家加密id
     *
     * @param businessEncryptid 商家加密id
     */
    public void setBusinessEncryptid(String businessEncryptid) {
        this.businessEncryptid = businessEncryptid;
    }

    /**
     * 获取景区加密id（店铺id）
     *
     * @return scenic_encryptId - 景区加密id（店铺id）
     */
    public String getScenicEncryptid() {
        return scenicEncryptid;
    }

    /**
     * 设置景区加密id（店铺id）
     *
     * @param scenicEncryptid 景区加密id（店铺id）
     */
    public void setScenicEncryptid(String scenicEncryptid) {
        this.scenicEncryptid = scenicEncryptid;
    }

    /**
     * 获取娱乐项目
     *
     * @return scenic_enter_name - 娱乐项目
     */
    public String getScenicEnterName() {
        return scenicEnterName;
    }

    /**
     * 设置娱乐项目
     *
     * @param scenicEnterName 娱乐项目
     */
    public void setScenicEnterName(String scenicEnterName) {
        this.scenicEnterName = scenicEnterName;
    }

    /**
     * 获取项目展示图(可多图)（多图最多5张图
     *
     * @return scenic_enter_img - 项目展示图(可多图)（多图最多5张图
     */
    public String getScenicEnterImg() {
        return scenicEnterImg;
    }

    /**
     * 设置项目展示图(可多图)（多图最多5张图
     *
     * @param scenicEnterImg 项目展示图(可多图)（多图最多5张图
     */
    public void setScenicEnterImg(String scenicEnterImg) {
        this.scenicEnterImg = scenicEnterImg;
    }

    /**
     * 获取更新时间
     *
     * @return scenic_enter_updatetime - 更新时间
     */
    public Date getScenicEnterUpdatetime() {
        return scenicEnterUpdatetime;
    }

    /**
     * 设置更新时间
     *
     * @param scenicEnterUpdatetime 更新时间
     */
    public void setScenicEnterUpdatetime(Date scenicEnterUpdatetime) {
        this.scenicEnterUpdatetime = scenicEnterUpdatetime;
    }

    /**
     * 获取添加时间
     *
     * @return scenic_enter_createtime - 添加时间
     */
    public Date getScenicEnterCreatetime() {
        return scenicEnterCreatetime;
    }

    /**
     * 设置添加时间
     *
     * @param scenicEnterCreatetime 添加时间
     */
    public void setScenicEnterCreatetime(Date scenicEnterCreatetime) {
        this.scenicEnterCreatetime = scenicEnterCreatetime;
    }

    /**
     * 获取项目简介
     *
     * @return scenic_enter_desc - 项目简介
     */
    public String getScenicEnterDesc() {
        return scenicEnterDesc;
    }

    /**
     * 设置项目简介
     *
     * @param scenicEnterDesc 项目简介
     */
    public void setScenicEnterDesc(String scenicEnterDesc) {
        this.scenicEnterDesc = scenicEnterDesc;
    }

    @Override
    public String toString() {
        return "XwSceincEntertainment{" +
                "scenicEnterId=" + scenicEnterId +
                ", businessEncryptid='" + businessEncryptid + '\'' +
                ", scenicEncryptid='" + scenicEncryptid + '\'' +
                ", scenicEnterName='" + scenicEnterName + '\'' +
                ", scenicEnterImg='" + scenicEnterImg + '\'' +
                ", scenicEnterUpdatetime=" + scenicEnterUpdatetime +
                ", scenicEnterCreatetime=" + scenicEnterCreatetime +
                ", scenicEnterDesc='" + scenicEnterDesc + '\'' +
                '}';
    }
}